package com.ynet.middleground.mobile.approve.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName SendCodeReq
 * @Description 发送验证码请求类
 * @Author liwq
 * @Date 2021/4/2 8:53
 * @Version 1.0
 */
@Data
@ApiModel(value = "发送签章手机验证码请求信息", description = "发送签章手机验证码请求信息")
public class SendCodeReq implements Serializable {

    private static final long serialVersionUID = 449863413144359914L;

    @NotNull(message = "用户 id 不能为空")
    @ApiModelProperty(value = "用户 id", required = true)
    private Integer userId;

    @NotBlank(message = "签署者账号标识不能为空")
    @ApiModelProperty(value = "签署者账号标识", required = true)
    private String accountId;

    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号", required = true)
    private String mobile;

    @NotBlank(message = "任务Id不能为空")
    @ApiModelProperty(value = "任务Id", required = true)
    private String taskId;

}
